This change adds the shortcut so it can be accessible by devices without a battery and to keep consistency with other submenus like the Wi-Fi submenu and the upcoming Bluetooth submenu (Teams/Design/os-mockups#178).
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6111
Part of <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2559>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2559>
this._profileSection = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(this._profileSection);
this.menu.setHeader('power-profile-balanced-symbolic', _('Power Profiles'));
+ this.menu.addSettingsAction(_('Power Settings'),
+ 'gnome-power-panel.desktop');
this._sync();
}